package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机泵信息对象 dispatchPumps
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchPumps extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机泵信息编号 */
    private Long pumpId;

    /** 关联的站点 ID */
    @Excel(name = "关联的站点 ID")
    private Long siteId;

    /** 机泵的名称 */
    @Excel(name = "机泵的名称")
    private String pumpName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pumpModel;

    public void setPumpId(Long pumpId) 
    {
        this.pumpId = pumpId;
    }

    public Long getPumpId() 
    {
        return pumpId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setPumpName(String pumpName) 
    {
        this.pumpName = pumpName;
    }

    public String getPumpName() 
    {
        return pumpName;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setPumpModel(String pumpModel) 
    {
        this.pumpModel = pumpModel;
    }

    public String getPumpModel() 
    {
        return pumpModel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pumpId", getPumpId())
            .append("siteId", getSiteId())
            .append("pumpName", getPumpName())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .append("pumpModel", getPumpModel())
            .toString();
    }
}
